.channel_box{
    width: 100%;
    height: 100%;
    background-color: var(--bg-primary);
    display: flex;
    .channel_left{
        position: relative;
        width: 240px;
        overflow: hidden;
        box-sizing: border-box;
        background-color: var(--bg-dark);
        display: flex;
        flex-direction: column;
        border-right: 1px solid var(--accent-secondary);
        .channel_left_top{
            padding: 16px;
            height: 50px;
            box-sizing: border-box;
            border-bottom: 1px solid var(--accent-secondary);
            font-weight: 700;
            font-size: 16px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            .channel_setting{
                cursor: pointer;
            }
        }
        .channel_left_channels{
            flex-grow: 1;
            overflow: auto;
            &::-webkit-scrollbar{
                width: 0;
                height: 0;
            }
            .channel_item_name{
                padding: 12px 16px 4px;
                color: var(--text-tertiary);
                font-size: 12px;
                font-weight: 600;
                text-transform: uppercase;
                letter-spacing: 0.5px;
                display: flex;
                align-items: center;
                justify-content: space-between;
                &:hover .channel_item_add{
                    opacity: 1;
                }
                .channel_item_add{
                    opacity: 0;
                    cursor: pointer;
                    font-weight: 800;
                    font-size: 18px;
                    line-height: 1;
                }
            }
        }
        .channel_left_onlineUsers{
            margin-top: auto;
            .channel_left_cls{
                background-color: #262730;
                border-radius: 0;
                .ant-collapse-header{
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    color: var(--text-tertiary);
                    font-size: 12px;
                    font-weight: 600;
                }
                .ant-collapse-content-box{
                    max-height: 240px;
                    color: var(--text-primary);
                    overflow: auto;
                    &::-webkit-scrollbar{
                        width: 0;
                        height: 0;
                    }
                    .channel_user_item{
                        display: flex;
                        align-items: center;
                        padding: 6px 0;
                        cursor: pointer;
                        .channel_user_item_avatar{
                            width: 32px;
                            height: 32px;
                            margin-right: 8px;
                            position: relative;
                            overflow: hidden;
                            img{
                                width: 100%;
                                height: 100%;
                                border-radius: 50%;
                            }
    
                        }
                        .channel_user_item_name{
                            font-size: 14px;
                            font-weight: 500;
                        }
                    }
                }
            }
        }
    }
    .channel_right{
        flex-grow: 1;
        background-color: var(#1e1f29);
        position: relative;
    }
}
.invite_code_box{
    padding: 20px;
    .invite_code_tips{
        color: var(--text-tertiary);
        margin-bottom: 8px;
        font-size: 12px;
        line-height: 18px;
    }
    .invite_code{
        display: flex;
        position: relative;
        align-items: center;
        justify-content: space-between;
        .invite_code_text{
            padding: 6px 12px;
            box-sizing: border-box;
            height: 50px;
            background: #22252b;
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 16px;
            font-weight: 700;
            letter-spacing: 3px;
            color: #F7A738;
            font-size: 22px;
        }
        .btn{
            height: auto;
            padding: 6px 12px;
        }
    }
}
.change_servername{
    padding: 20px;
    .change_servername_body {
        animation: change_servernameFadeIn 0.3 ease-out;
        .change_servername_subtitle {
            color: var(--text-secondary);
            text-align: center;
            margin: 0 0 16px;
            font-size: 14px;
        }
      
        .server_avatar_preview {
            display: flex;
            justify-content: center;
            .avatar_placeholder {
                width: 80px;
                height: 80px;
                background: var(--accent-primary);
                border-radius: 50%;
                display: flex;
                align-items: center;
                justify-content: center;
                color: white;
                font-size: 32px;
                font-weight: 700;
            }
        }
      
        .input_group {
            margin-bottom: 16px;
            
            label {
                display: block;
                color: var(--text-secondary);
                margin-bottom: 8px;
                font-size: 12px;
                font-weight: 700;
                text-transform: uppercase;
            }
        }
    }
    
    .change_servername_footer {
        display: flex;
        justify-content: flex-end;

        button{
            margin: 0;
            padding: 6px 16px;
        }
        
        .btn_wrapper {
            display: flex;
            gap: 12px;
        }
    }
}